<h2>Фотография для сотрудника</h2>

<% form_for :person_photo, @person_photo, :url => { :action => person_photo_form_action }, :html => { :multipart => true } do |f| %>
	<p>
	    <%= hidden_field_tag "person_id", params[:person_id] %>
		<%= hidden_field_tag "organization_id", params[:organization_id] %>
		<%= hidden_field_tag "person_photo_id", params[:person_photo_id] %>
		<label>Выберите фотографию:</label><br />
		<%= f.file_field :uploaded_data, :size => 40 %>
		<%= submit_tag "Сохранить" %>
	</p>
<% end %>